﻿using BCCommon.FreightEnums;
using BCDto.TMS.DisableArea.DisableAreaRangeCoordinate;
using BCDto.TMS.DisableArea.DisableAreaVehicleTypeReference;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.TMS.DisableArea
{
    /// <summary>
    /// 禁止装卸货区域
    /// </summary>
    public class DisableAreaDto
    {
        #region 禁止装卸货区域基本信息
        /// <summary>
        /// 禁止装卸区域Id
        /// </summary>
        public long DisableAreaId { get; set; }
        /// <summary>
        /// 省份编码
        /// </summary>
        public string ProvinceCode { get; set; }
        /// <summary>
        /// 城市编码
        /// </summary>
        public string CityCode { get; set; }
        /// <summary>
        /// 区县编码
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 范围坐标
        /// </summary>
        public string RangeCoordinate { get; set; }
        /// <summary>
        /// 归属管理员Id
        /// </summary>
        public long? AdminId { get; set; }
        /// <summary>
        /// 禁止类型（永久、时间段）
        /// </summary>
        public DisableAreaType DisableType { get; set; }
        /// <summary>
        /// 允许开放时间
        /// </summary>
        public DateTime? OpenTime { get; set; }
        /// <summary>
        /// 允许结束时间
        /// </summary>
        public DateTime? CloseTime { get; set; }
        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 编辑人
        /// </summary>
        public string Editer { get; set; }
        /// <summary>
        /// 编辑人管理员Id
        /// </summary>
        public long EditerAdminId { get; set; }
        #endregion

        /// <summary>
        /// 坐标范围
        /// </summary>
        /// <returns></returns>
        public List<DisableAreaRangeCoordinateDto> RangeCoordinateList { get; set; }
        /// <summary>
        /// 车辆类型映射
        /// </summary>
        public List<DisableAreaVehicleTypeReferenceDto> VehicleTypeReferenceList { get; set; }
    }
}
